package org.hawk.gwt.ppc.parser;

public interface OperatorExpressionDescriptor extends ExpressionDescriptor {
	
	/**
	 * @return left operand of this expression or <code>null</code>
	 * if this expression is unary expression.
	 */
	ExpressionDescriptor getLeftOperand();
	
	/**
	 * @return right operand of this expression or <code>null</code>
	 * if this expression is postfix expression.
	 */
	ExpressionDescriptor getRightOperand();
	
	/**
	 * @return operator token
	 */
	String getOperator();
}
